< previous page page_542 next page >

Page 542
If you expand one of the tables, you can view the list of fields that make up that table. You can then double-click one of the fields for a list of that fields properties, such as the data type, length, owner, and so on. See Figure 27.10 for an example.
8160-0542a.gif
Figure 27.10
The field properties for a Jet MDB.
The field properties are lookup onlyyou cant modify any of the tables, fields, or queries in the Access MDB from the Data View window.
Using a SQL Server Data Link
When you create a data link to SQL Server, you have more options than what you have with an Access MDB. You can create and modify tables, create and edit views, and create and view stored procedures.
To modify a table, right-click the table and select the Design menu. This displays the Design Table window, shown in Figure 27.11, from which you can add fields, change field names, and even drop in fields. One of the nice features of the Design Table window is that when you save the changes you make to the table, it shows you the SQL code its submitting to the database to make these changes. This will help you learn SQL. You can even save these changes to a text file, which is excellent if later you need to make these same changes to a production database.
The Query Design Window
If youve created views in SQL Server or Oracle or if you want to create new views in SQL Server or Oracle, you can click the Views folder in the Data View window. If you have existing views, theyll show up under this folder. To add a new view, right-click the Views folder and select the New View menu item. This Query Design window is available in the Enterprise Edition only.

 
< previous page page_542 next page >

If you like this book, buy it!